package net.office.service;

import net.office.bean.Memorandum;

import java.util.List;

public interface MemorandumService {

    List<Memorandum> findAllByStaffId(int staffId);

    int deleteByPrimaryKey(Integer memorId);

    List<Memorandum> findByMemorandum(Memorandum memorandum);

    int insert(Memorandum memorandum);

    Memorandum findOneByMemorId(Integer memorId);

    int updateByPrimaryKey(Memorandum memorandum);
}
